/**
 * 
 */
package com.music.common.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

import com.music.common.utils.Record;
import com.sun.tools.internal.xjc.Language;

/**
 * @author rpatil
 *
 */
public class User implements Serializable, Record{

	private Integer userId;
    
    private Address address;
    
    private Email email;
    
    private String osUserName;
    
    private String firstName;
    
    private String lastName;
    
    private boolean userIsDeleted;
    
    private String userType;
    
    private String userStatus;
    
    private Language language;
    
    private Locale locale;
    
    private TimeZone timeZone;
    
    private boolean companyAdministrator;
    
    /**
	 * @return the userId
	 */
	public Integer getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	/**
	 * @return the address
	 */
	public Address getAddress() {
		return address;
	}

	/**
	 * @param address the address to set
	 */
	public void setAddress(Address address) {
		this.address = address;
	}

	/**
	 * @return the email
	 */
	public Email getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(Email email) {
		this.email = email;
	}

	/**
	 * @return the osUserName
	 */
	public String getOsUserName() {
		return osUserName;
	}

	/**
	 * @param osUserName the osUserName to set
	 */
	public void setOsUserName(String osUserName) {
		this.osUserName = osUserName;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the userIsDeleted
	 */
	public boolean isUserIsDeleted() {
		return userIsDeleted;
	}

	/**
	 * @param userIsDeleted the userIsDeleted to set
	 */
	public void setUserIsDeleted(boolean userIsDeleted) {
		this.userIsDeleted = userIsDeleted;
	}

	/**
	 * @return the userType
	 */
	public String getUserType() {
		return userType;
	}

	/**
	 * @param userType the userType to set
	 */
	public void setUserType(String userType) {
		this.userType = userType;
	}

	/**
	 * @return the userStatus
	 */
	public String getUserStatus() {
		return userStatus;
	}

	/**
	 * @param userStatus the userStatus to set
	 */
	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}

	/**
	 * @return the language
	 */
	public Language getLanguage() {
		return language;
	}

	/**
	 * @param language the language to set
	 */
	public void setLanguage(Language language) {
		this.language = language;
	}

	/**
	 * @return the locale
	 */
	public Locale getLocale() {
		return locale;
	}

	/**
	 * @param locale the locale to set
	 */
	public void setLocale(Locale locale) {
		this.locale = locale;
	}

	/**
	 * @return the timeZone
	 */
	public TimeZone getTimeZone() {
		return timeZone;
	}

	/**
	 * @param timeZone the timeZone to set
	 */
	public void setTimeZone(TimeZone timeZone) {
		this.timeZone = timeZone;
	}

	/**
	 * @return the companyAdministrator
	 */
	public boolean isCompanyAdministrator() {
		return companyAdministrator;
	}

	/**
	 * @param companyAdministrator the companyAdministrator to set
	 */
	public void setCompanyAdministrator(boolean companyAdministrator) {
		this.companyAdministrator = companyAdministrator;
	}

	/**
	 * @return the telephoneNumber
	 */
	public String getTelephoneNumber() {
		return telephoneNumber;
	}

	/**
	 * @param telephoneNumber the telephoneNumber to set
	 */
	public void setTelephoneNumber(String telephoneNumber) {
		this.telephoneNumber = telephoneNumber;
	}

	/**
	 * @return the mobilePhoneNumber
	 */
	public String getMobilePhoneNumber() {
		return mobilePhoneNumber;
	}

	/**
	 * @param mobilePhoneNumber the mobilePhoneNumber to set
	 */
	public void setMobilePhoneNumber(String mobilePhoneNumber) {
		this.mobilePhoneNumber = mobilePhoneNumber;
	}

	/**
	 * @return the emailAlert
	 */
	public boolean isEmailAlert() {
		return emailAlert;
	}

	/**
	 * @param emailAlert the emailAlert to set
	 */
	public void setEmailAlert(boolean emailAlert) {
		this.emailAlert = emailAlert;
	}

	/**
	 * @return the smsAlert
	 */
	public boolean isSmsAlert() {
		return smsAlert;
	}

	/**
	 * @param smsAlert the smsAlert to set
	 */
	public void setSmsAlert(boolean smsAlert) {
		this.smsAlert = smsAlert;
	}

	/**
	 * @return the alertGenre
	 */
	public Integer getAlertGenre() {
		return alertGenre;
	}

	/**
	 * @param alertGenre the alertGenre to set
	 */
	public void setAlertGenre(Integer alertGenre) {
		this.alertGenre = alertGenre;
	}

	/**
	 * @return the dateOfBirth
	 */
	public Date getDateOfBirth() {
		return dateOfBirth;
	}

	/**
	 * @param dateOfBirth the dateOfBirth to set
	 */
	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	/**
	 * @return the sessionTimeoutMins
	 */
	public Integer getSessionTimeoutMins() {
		return sessionTimeoutMins;
	}

	/**
	 * @param sessionTimeoutMins the sessionTimeoutMins to set
	 */
	public void setSessionTimeoutMins(Integer sessionTimeoutMins) {
		this.sessionTimeoutMins = sessionTimeoutMins;
	}

	// Phone Entities
    private String telephoneNumber;
    
    private String mobilePhoneNumber;
    
    private boolean emailAlert;
    
    private boolean smsAlert;
    
    private Integer alertGenre;
    
    private Date dateOfBirth;
    
    private Integer sessionTimeoutMins;
}
